package editorarquivobmg.gui;

import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JRadioButton;
import javax.swing.JRadioButtonMenuItem;
import javax.swing.JSpinner;
import javax.swing.JTable;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.table.DefaultTableModel;

public class TelaPrincipal extends JFrame {

    public TelaPrincipal() {
        initComponents();
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        rbGrupoMenuFormatar = new javax.swing.ButtonGroup();
        rbGrupoDefinirQuantidadePixelLinha = new javax.swing.ButtonGroup();
        btnProximo = new javax.swing.JButton();
        btnSalvar = new javax.swing.JButton();
        sclMessage = new javax.swing.JScrollPane();
        txtMessage = new javax.swing.JTextArea();
        btnAnterior = new javax.swing.JButton();
        lblNumeroDialogo = new javax.swing.JLabel();
        lblNum = new javax.swing.JLabel();
        btnCarregarMapeamento = new javax.swing.JButton();
        btnLimparMapeamento = new javax.swing.JButton();
        sclMapeamento = new javax.swing.JScrollPane();
        tblMapeamento = new javax.swing.JTable();
        sclMessageComparacao = new javax.swing.JScrollPane();
        txtMessageComparacao = new javax.swing.JTextArea();
        btnAbrir = new javax.swing.JButton();
        lblTextos = new javax.swing.JLabel();
        lblQtdTexto = new javax.swing.JLabel();
        btnLimpar = new javax.swing.JButton();
        txtIr = new javax.swing.JTextField();
        btnIr = new javax.swing.JButton();
        btnCarregarPixels = new javax.swing.JButton();
        btnLimparPixels = new javax.swing.JButton();
        lblMaximoPixelLinha = new javax.swing.JLabel();
        lblNumPixelLinha = new javax.swing.JLabel();
        sclPixels = new javax.swing.JScrollPane();
        txtPixels = new javax.swing.JEditorPane();
        lblAviso = new javax.swing.JLabel();
        lblTextoEquivalente = new javax.swing.JLabel();
        rbDefinirManualmente = new javax.swing.JRadioButton();
        txtDefinirManualmente = new javax.swing.JTextField();
        rbDefinirAutomaticamente = new javax.swing.JRadioButton();
        lblInformeEndereco = new javax.swing.JLabel();
        spInformeEndereco = new javax.swing.JSpinner();
        menuPrincipal = new javax.swing.JMenuBar();
        menuArquivo = new javax.swing.JMenu();
        menuAbrir = new javax.swing.JMenuItem();
        menuSalvar = new javax.swing.JMenuItem();
        menuSalvarComo = new javax.swing.JMenuItem();
        menuSair = new javax.swing.JMenuItem();
        menuFerramentas = new javax.swing.JMenu();
        menuExtrairScript = new javax.swing.JMenuItem();
        menuInserirScript = new javax.swing.JMenuItem();
        menuFormatar = new javax.swing.JMenu();
        rbMenuUnicode = new javax.swing.JRadioButtonMenuItem();
        rbMenuUTF8 = new javax.swing.JRadioButtonMenuItem();
        rbMenuANSI = new javax.swing.JRadioButtonMenuItem();
        menuAjuda = new javax.swing.JMenu();
        menuSobre = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        btnProximo.setText("Próximo");
        btnProximo.setEnabled(false);

        btnSalvar.setText("Salvar");
        btnSalvar.setEnabled(false);

        txtMessage.setColumns(20);
        txtMessage.setRows(5);
        txtMessage.setEnabled(false);
        sclMessage.setViewportView(txtMessage);

        btnAnterior.setText("Anterior");
        btnAnterior.setEnabled(false);

        lblNumeroDialogo.setText("Número do diálogo:");

        lblNum.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        lblNum.setText("0");

        btnCarregarMapeamento.setText("Carregar Mapeamento");
        btnCarregarMapeamento.setEnabled(false);

        btnLimparMapeamento.setText("Limpar Mapeamento");
        btnLimparMapeamento.setEnabled(false);

        tblMapeamento.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Código", "Equivalencia"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.String.class
            };
            boolean[] canEdit = new boolean [] {
                false, false
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        sclMapeamento.setViewportView(tblMapeamento);

        txtMessageComparacao.setEditable(false);
        txtMessageComparacao.setColumns(20);
        txtMessageComparacao.setRows(5);
        txtMessageComparacao.setEnabled(false);
        sclMessageComparacao.setViewportView(txtMessageComparacao);

        btnAbrir.setText("Abrir");
        btnAbrir.setEnabled(false);

        lblTextos.setText("Número textos:");

        lblQtdTexto.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        lblQtdTexto.setText("--");

        btnLimpar.setText("Limpar");
        btnLimpar.setEnabled(false);

        txtIr.setEnabled(false);

        btnIr.setText("Ir");
        btnIr.setEnabled(false);

        btnCarregarPixels.setText("Carregar Pixels");
        btnCarregarPixels.setEnabled(false);

        btnLimparPixels.setText("Limpar Pixels");
        btnLimparPixels.setEnabled(false);

        lblMaximoPixelLinha.setText("Pixels do diálogo:");

        lblNumPixelLinha.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        lblNumPixelLinha.setText("--");

        txtPixels.setEditable(false);
        sclPixels.setViewportView(txtPixels);

        lblAviso.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        lblAviso.setText("--");

        lblTextoEquivalente.setText("Texto equivalente");

        rbGrupoDefinirQuantidadePixelLinha.add(rbDefinirManualmente);
        rbDefinirManualmente.setSelected(true);
        rbDefinirManualmente.setText("Definir quatidade de pixel por linha manualmente");
        rbDefinirManualmente.setEnabled(false);

        txtDefinirManualmente.setEnabled(false);

        rbGrupoDefinirQuantidadePixelLinha.add(rbDefinirAutomaticamente);
        rbDefinirAutomaticamente.setText("Definir quatidade de pixel por linha automaticamente");
        rbDefinirAutomaticamente.setEnabled(false);

        lblInformeEndereco.setText("Informe o endereço:");
        lblInformeEndereco.setEnabled(false);

        spInformeEndereco.setToolTipText("");
        spInformeEndereco.setEnabled(false);

        menuArquivo.setText("Arquivo");

        menuAbrir.setText("Abrir");
        menuArquivo.add(menuAbrir);

        menuSalvar.setText("Salvar");
        menuSalvar.setEnabled(false);
        menuArquivo.add(menuSalvar);

        menuSalvarComo.setText("Salvar Como");
        menuSalvarComo.setEnabled(false);
        menuArquivo.add(menuSalvarComo);

        menuSair.setText("Sair");
        menuArquivo.add(menuSair);

        menuPrincipal.add(menuArquivo);

        menuFerramentas.setText("Ferramentas");

        menuExtrairScript.setText("Extrair Script");
        menuExtrairScript.setEnabled(false);
        menuFerramentas.add(menuExtrairScript);

        menuInserirScript.setText("Inserir Script");
        menuInserirScript.setEnabled(false);
        menuFerramentas.add(menuInserirScript);

        menuPrincipal.add(menuFerramentas);

        menuFormatar.setText("Formatar");

        rbGrupoMenuFormatar.add(rbMenuUnicode);
        rbMenuUnicode.setSelected(true);
        rbMenuUnicode.setText("Codificação em Unicode");
        rbMenuUnicode.setEnabled(false);
        menuFormatar.add(rbMenuUnicode);

        rbGrupoMenuFormatar.add(rbMenuUTF8);
        rbMenuUTF8.setText("Codificação em UTF-8");
        rbMenuUTF8.setEnabled(false);
        menuFormatar.add(rbMenuUTF8);

        rbGrupoMenuFormatar.add(rbMenuANSI);
        rbMenuANSI.setText("Codificação em ANSI");
        rbMenuANSI.setEnabled(false);
        menuFormatar.add(rbMenuANSI);

        menuPrincipal.add(menuFormatar);

        menuAjuda.setText("Ajuda");

        menuSobre.setText("Sobre");
        menuAjuda.add(menuSobre);

        menuPrincipal.add(menuAjuda);

        setJMenuBar(menuPrincipal);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(sclPixels, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addComponent(lblNumeroDialogo)
                                .addGap(8, 8, 8)
                                .addComponent(lblNum)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(txtIr, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnIr))
                            .addComponent(sclMessage)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(btnAnterior)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnSalvar)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(btnProximo))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(lblMaximoPixelLinha)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(lblNumPixelLinha)
                                .addGap(18, 18, 18)
                                .addComponent(lblAviso)))
                        .addGap(14, 14, 14)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(btnAbrir)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(btnLimpar))
                                    .addComponent(rbDefinirManualmente)
                                    .addComponent(rbDefinirAutomaticamente)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(21, 21, 21)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(txtDefinirManualmente, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(lblInformeEndereco, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(18, 18, 18)
                                                .addComponent(spInformeEndereco, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                                .addGap(0, 0, Short.MAX_VALUE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(lblTextoEquivalente)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(lblTextos)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(lblQtdTexto))
                            .addComponent(sclMessageComparacao, javax.swing.GroupLayout.Alignment.TRAILING))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(sclMapeamento, javax.swing.GroupLayout.PREFERRED_SIZE, 326, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(btnCarregarPixels)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnLimparPixels, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnCarregarMapeamento, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnLimparMapeamento, javax.swing.GroupLayout.PREFERRED_SIZE, 160, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(txtIr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(btnIr))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(lblTextoEquivalente)
                        .addComponent(lblTextos)
                        .addComponent(lblQtdTexto))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(lblNumeroDialogo)
                        .addComponent(lblNum)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(sclMessage, javax.swing.GroupLayout.DEFAULT_SIZE, 195, Short.MAX_VALUE)
                            .addComponent(sclMessageComparacao, javax.swing.GroupLayout.DEFAULT_SIZE, 195, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(btnAnterior)
                                    .addComponent(btnSalvar)
                                    .addComponent(btnProximo))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(lblMaximoPixelLinha)
                                    .addComponent(lblNumPixelLinha)
                                    .addComponent(lblAviso))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                .addComponent(btnLimpar)
                                .addComponent(btnAbrir)))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(sclPixels, javax.swing.GroupLayout.DEFAULT_SIZE, 173, Short.MAX_VALUE)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(rbDefinirManualmente)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtDefinirManualmente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(rbDefinirAutomaticamente)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(lblInformeEndereco)
                                    .addComponent(spInformeEndereco, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addComponent(sclMapeamento, javax.swing.GroupLayout.DEFAULT_SIZE, 424, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btnCarregarPixels)
                        .addComponent(btnLimparPixels))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(btnCarregarMapeamento)
                        .addComponent(btnLimparMapeamento)))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnAbrir;
    private javax.swing.JButton btnAnterior;
    private javax.swing.JButton btnCarregarMapeamento;
    private javax.swing.JButton btnCarregarPixels;
    private javax.swing.JButton btnIr;
    private javax.swing.JButton btnLimpar;
    private javax.swing.JButton btnLimparMapeamento;
    private javax.swing.JButton btnLimparPixels;
    private javax.swing.JButton btnProximo;
    private javax.swing.JButton btnSalvar;
    private javax.swing.JLabel lblAviso;
    private javax.swing.JLabel lblInformeEndereco;
    private javax.swing.JLabel lblMaximoPixelLinha;
    private javax.swing.JLabel lblNum;
    private javax.swing.JLabel lblNumPixelLinha;
    private javax.swing.JLabel lblNumeroDialogo;
    private javax.swing.JLabel lblQtdTexto;
    private javax.swing.JLabel lblTextoEquivalente;
    private javax.swing.JLabel lblTextos;
    private javax.swing.JMenuItem menuAbrir;
    private javax.swing.JMenu menuAjuda;
    private javax.swing.JMenu menuArquivo;
    private javax.swing.JMenuItem menuExtrairScript;
    private javax.swing.JMenu menuFerramentas;
    private javax.swing.JMenu menuFormatar;
    private javax.swing.JMenuItem menuInserirScript;
    private javax.swing.JMenuBar menuPrincipal;
    private javax.swing.JMenuItem menuSair;
    private javax.swing.JMenuItem menuSalvar;
    private javax.swing.JMenuItem menuSalvarComo;
    private javax.swing.JMenuItem menuSobre;
    private javax.swing.JRadioButton rbDefinirAutomaticamente;
    private javax.swing.JRadioButton rbDefinirManualmente;
    private javax.swing.ButtonGroup rbGrupoDefinirQuantidadePixelLinha;
    private javax.swing.ButtonGroup rbGrupoMenuFormatar;
    private javax.swing.JRadioButtonMenuItem rbMenuANSI;
    private javax.swing.JRadioButtonMenuItem rbMenuUTF8;
    private javax.swing.JRadioButtonMenuItem rbMenuUnicode;
    private javax.swing.JScrollPane sclMapeamento;
    private javax.swing.JScrollPane sclMessage;
    private javax.swing.JScrollPane sclMessageComparacao;
    private javax.swing.JScrollPane sclPixels;
    private javax.swing.JSpinner spInformeEndereco;
    private javax.swing.JTable tblMapeamento;
    private javax.swing.JTextField txtDefinirManualmente;
    private javax.swing.JTextField txtIr;
    private javax.swing.JTextArea txtMessage;
    private javax.swing.JTextArea txtMessageComparacao;
    private javax.swing.JEditorPane txtPixels;
    // End of variables declaration//GEN-END:variables

    public JButton getBtnAbrir() {
        return btnAbrir;
    }

    public JButton getBtnAnterior() {
        return btnAnterior;
    }

    public JButton getBtnCarregarMapeamento() {
        return btnCarregarMapeamento;
    }

    public JButton getBtnCarregarPixels() {
        return btnCarregarPixels;
    }

    public JButton getBtnIr() {
        return btnIr;
    }

    public JButton getBtnLimpar() {
        return btnLimpar;
    }

    public JButton getBtnLimparMapeamento() {
        return btnLimparMapeamento;
    }

    public JButton getBtnLimparPixels() {
        return btnLimparPixels;
    }

    public JButton getBtnProximo() {
        return btnProximo;
    }

    public JButton getBtnSalvar() {
        return btnSalvar;
    }

    public JTextField getTxtIr() {
        return txtIr;
    }

    public JTextArea getTxtMessage() {
        return txtMessage;
    }

    public JTextArea getTxtMessageComparacao() {
        return txtMessageComparacao;
    }

    public JEditorPane getTxtPixels() {
        return txtPixels;
    }

    public JLabel getLblAviso() {
        return lblAviso;
    }

    public JLabel getLblMaximoPixelLinha() {
        return lblMaximoPixelLinha;
    }

    public JLabel getLblNum() {
        return lblNum;
    }

    public JLabel getLblNumPixelLinha() {
        return lblNumPixelLinha;
    }

    public JLabel getLblNumeroDialogo() {
        return lblNumeroDialogo;
    }

    public JLabel getLblQtdTexto() {
        return lblQtdTexto;
    }

    public JLabel getLblTextos() {
        return lblTextos;
    }

    public JTable getTblMapeamento() {
        return tblMapeamento;
    }

    public JMenuItem getMenuExtrairScript() {
        return menuExtrairScript;
    }

    public JMenuItem getMenuInserirScript() {
        return menuInserirScript;
    }

    public JMenuItem getMenuSalvar() {
        return menuSalvar;
    }

    public JMenuItem getMenuSalvarComo() {
        return menuSalvarComo;
    }

    public ButtonGroup getRbGrupoMenuFormatar() {
        return rbGrupoMenuFormatar;
    }

    public JRadioButtonMenuItem getRbMenuUnicode() {
        return rbMenuUnicode;
    }

    public JRadioButtonMenuItem getRbMenuUTF8() {
        return rbMenuUTF8;
    }

    public JRadioButtonMenuItem getRbMenuANSI() {
        return rbMenuANSI;
    }

    public JLabel getLblInformeEndereco() {
        return lblInformeEndereco;
    }

    public JRadioButton getRbDefinirAutomaticamente() {
        return rbDefinirAutomaticamente;
    }

    public JRadioButton getRbDefinirManualmente() {
        return rbDefinirManualmente;
    }

    public ButtonGroup getRbGrupoDefinirQuantidadePixelLinha() {
        return rbGrupoDefinirQuantidadePixelLinha;
    }

    public JTextField getTxtDefinirManualmente() {
        return txtDefinirManualmente;
    }

    public JSpinner getSpInformeEndereco() {
        return spInformeEndereco;
    }

    public JMenuItem getMenuAbrir() {
        return menuAbrir;
    }

    public JMenu getMenuAjuda() {
        return menuAjuda;
    }

    public JMenu getMenuArquivo() {
        return menuArquivo;
    }

    public JMenu getMenuFerramentas() {
        return menuFerramentas;
    }

    public JMenu getMenuFormatar() {
        return menuFormatar;
    }

    public JMenuBar getMenuPrincipal() {
        return menuPrincipal;
    }

    public JMenuItem getMenuSair() {
        return menuSair;
    }

    public JMenuItem getMenuSobre() {
        return menuSobre;
    }
}